import { EntityModel } from "@midwayjs/orm";
import { Column } from "typeorm";
import { BaseEnity } from "./base.entity";

@EntityModel('photo')
export class PhotoEntity extends BaseEnity {
    @Column({type:'varchar', length: 200, nullable: true, comment: '图片'})
    image: string
}